package com.hspedu.super_;

public class A extends Base{
//    public int n1 = 100;
    protected  int n2 = 200;
    int n3 = 300;
    private  int n4 = 300;

    public A() {
        System.out.println("A的无参构造器");
    }

    public A(String name) {

    }
    public A(String name,int age) {

    }

/*    public void cal(){
        System.out.println("A类的cal() 方法...");
    }*/

    public void test100(){

    }

    protected void test200(){

    }

    void test300(){

    }

    private void test400(){

    }
}
